package com.jihui.enterprise;

import org.jetbrains.annotations.Nullable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ${DESCRIPTION}
 *
 * @author 王进
 * @since 2017-09-18 17:04
 **/
public interface EnterpriseManager {
    /**
     * 通过ID查找用户
     *
     * @param userId 用户账户
     * @return 返回账户
     */
    @Nullable
    @RequestMapping(value = "/enterprise/findByUserId", method = RequestMethod.GET)
    AbcEnterprise findByUserId(@RequestParam("userId") String userId);

}
